package com.lian.aieduc.model.po;

import lombok.Builder;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@Builder
public class Article {
    private Long id;
    /**封面*/
    private String cover;
    /**标题*/
    private String title;
    /**简介*/
    private String brief;
    /**标签*/
    private String tags;
    /**点赞数量*/
    private Integer likeCount;
    /**浏览量*/
    private Integer viewCount;
    /**收藏数量*/
    private Integer favoriteCount;
    /**作者id*/
    private Long authorId;
    /**内容 md格式*/
    private String contentMd;
    /**创建时间*/
    private LocalDateTime createTime;
    /**更新时间*/
    private LocalDateTime updateTime;
}
